package cpool;

/**
 * 通过静态内部类来实现连接池的单例
 */
public class PoolManager {
    private static class CreatePool{
        private static JdbcPool pool=new JdbcPool();
    }
    public static JdbcPool getInstance(){
        return CreatePool.pool;
    }
}
